import { IsOptional, IsArray, IsBoolean, IsString } from 'class-validator';
import { Type } from 'class-transformer';

export class DrawFilterDto {
  @IsOptional()
  @IsArray()
  @IsString({ each: true })
  categories?: string[];

  @IsOptional()
  @Type(() => Boolean)
  @IsBoolean()
  excludeMarked?: boolean;
}
